/*
*
* MasterOrderInvoiceExample.java
* @author 18304
* @date 2020-12-24 16:49:36
*/
package com.steel.yfmall.cloud.assistant.po.oms;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MasterOrderInvoiceExample {
    /**
     * master_order_invoice
     */
    protected String orderByClause;

    /**
     * master_order_invoice
     */
    protected boolean distinct;

    /**
     * master_order_invoice
     */
    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    private String groupByClause;

    private String selectFields;

    /**
     * 构造查询条件:master_order_invoice
     * @Title: MasterOrderInvoiceExample
     * @Description: ( )
     * @return 返回类型 null
     * @date 2020-12-24 16:49:36
     */
    public MasterOrderInvoiceExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * 设置排序字段:master_order_invoice
     * @Title: setOrderByClause
     * @Description: ( 设置排序字段 )
     * @param 参数说明 类型:String	名称:orderByClause 排序字段
     * @return 返回类型 null
     * @date 2020-12-24 16:49:36
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     * 获取排序字段:master_order_invoice
     * @Title: getOrderByClause
     * @Description: ( 获取排序字段 )
     * @return 返回类型 java.lang.String
     * @date 2020-12-24 16:49:36
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * 设置过滤重复数据:master_order_invoice
     * @Title: setDistinct
     * @Description: ( 设置过滤重复数据 )
     * @param 参数说明 类型:boolean	名称:distinct 是否过滤重复数据
     * @return 返回类型 null
     * @date 2020-12-24 16:49:36
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * 是否过滤重复数据:master_order_invoice
     * @Title: isDistinct
     * @Description: ( 是否过滤重复数据 )
     * @return 返回类型 boolean
     * @date 2020-12-24 16:49:36
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * 获取当前的查询条件实例:master_order_invoice
     * @Title: getOredCriteria
     * @Description: ( 获取当前的查询条件实例 )
     * @return 返回类型 java.util.List<Criteria>
     * @date 2020-12-24 16:49:36
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     *:master_order_invoice
     * @Title: or
     * @Description: ( )
     *
     * @param 参数说明 类型:Criteria	名称:criteria 过滤条件实例
     * @return 返回类型 null
     * @date 2020-12-24 16:49:36
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     *:master_order_invoice
     * @Title: or
     * @Description: ( )
     *
     * @return 返回类型 Criteria
     * @date 2020-12-24 16:49:36
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * 创建一个查询条件:master_order_invoice
     * @Title: createCriteria
     * @Description: ( 创建一个查询条件 )
     * @return 返回类型 Criteria
     * @date 2020-12-24 16:49:36
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     * 内部构建查询条件对象:master_order_invoice
     * @Title: createCriteriaInternal
     * @Description: ( 内部构建查询条件对象 )
     * @return 返回类型 Criteria
     * @date 2020-12-24 16:49:36
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * 清除查询条件:master_order_invoice
     * @Title: clear
     * @Description: ( 清除查询条件 )
     * @return 返回类型 null
     * @date 2020-12-24 16:49:36
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void limit(Integer offset, Integer limit) {
        this.offset = offset;
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    public void setGroupByClause(String groupByClause) {
        this.groupByClause = groupByClause;
    }

    public String getGroupByClause() {
        return groupByClause;
    }

    public void setSelectFields(String selectFields) {
        this.selectFields = selectFields;
    }

    public String getSelectFields() {
        return selectFields;
    }

    /**
     * @title master_order_invoice表的实体类
     * @description master_order_invoice
     * @version 1.0
     * @author 18304
     * @date 2020-12-24 16:49:36
     */
    protected abstract static class GeneratedCriteria implements java.io.Serializable {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andMasterOrderSnIsNull() {
            addCriterion("master_order_sn is null");
            return (Criteria) this;
        }

        public Criteria andMasterOrderSnIsNotNull() {
            addCriterion("master_order_sn is not null");
            return (Criteria) this;
        }

        public Criteria andMasterOrderSnEqualTo(String value) {
            addCriterion("master_order_sn =", value, "masterOrderSn");
            return (Criteria) this;
        }

        public Criteria andMasterOrderSnNotEqualTo(String value) {
            addCriterion("master_order_sn <>", value, "masterOrderSn");
            return (Criteria) this;
        }

        public Criteria andMasterOrderSnGreaterThan(String value) {
            addCriterion("master_order_sn >", value, "masterOrderSn");
            return (Criteria) this;
        }

        public Criteria andMasterOrderSnGreaterThanOrEqualTo(String value) {
            addCriterion("master_order_sn >=", value, "masterOrderSn");
            return (Criteria) this;
        }

        public Criteria andMasterOrderSnLessThan(String value) {
            addCriterion("master_order_sn <", value, "masterOrderSn");
            return (Criteria) this;
        }

        public Criteria andMasterOrderSnLessThanOrEqualTo(String value) {
            addCriterion("master_order_sn <=", value, "masterOrderSn");
            return (Criteria) this;
        }

        public Criteria andMasterOrderSnLike(String value) {
            addCriterion("master_order_sn like", value, "masterOrderSn");
            return (Criteria) this;
        }

        public Criteria andMasterOrderSnNotLike(String value) {
            addCriterion("master_order_sn not like", value, "masterOrderSn");
            return (Criteria) this;
        }

        public Criteria andMasterOrderSnIn(List<String> values) {
            addCriterion("master_order_sn in", values, "masterOrderSn");
            return (Criteria) this;
        }

        public Criteria andMasterOrderSnNotIn(List<String> values) {
            addCriterion("master_order_sn not in", values, "masterOrderSn");
            return (Criteria) this;
        }

        public Criteria andMasterOrderSnBetween(String value1, String value2) {
            addCriterion("master_order_sn between", value1, value2, "masterOrderSn");
            return (Criteria) this;
        }

        public Criteria andMasterOrderSnNotBetween(String value1, String value2) {
            addCriterion("master_order_sn not between", value1, value2, "masterOrderSn");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeIsNull() {
            addCriterion("invoice_type is null");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeIsNotNull() {
            addCriterion("invoice_type is not null");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeEqualTo(Integer value) {
            addCriterion("invoice_type =", value, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeNotEqualTo(Integer value) {
            addCriterion("invoice_type <>", value, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeGreaterThan(Integer value) {
            addCriterion("invoice_type >", value, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("invoice_type >=", value, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeLessThan(Integer value) {
            addCriterion("invoice_type <", value, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeLessThanOrEqualTo(Integer value) {
            addCriterion("invoice_type <=", value, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeIn(List<Integer> values) {
            addCriterion("invoice_type in", values, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeNotIn(List<Integer> values) {
            addCriterion("invoice_type not in", values, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeBetween(Integer value1, Integer value2) {
            addCriterion("invoice_type between", value1, value2, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("invoice_type not between", value1, value2, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleTypeIsNull() {
            addCriterion("invoice_title_type is null");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleTypeIsNotNull() {
            addCriterion("invoice_title_type is not null");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleTypeEqualTo(Integer value) {
            addCriterion("invoice_title_type =", value, "invoiceTitleType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleTypeNotEqualTo(Integer value) {
            addCriterion("invoice_title_type <>", value, "invoiceTitleType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleTypeGreaterThan(Integer value) {
            addCriterion("invoice_title_type >", value, "invoiceTitleType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("invoice_title_type >=", value, "invoiceTitleType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleTypeLessThan(Integer value) {
            addCriterion("invoice_title_type <", value, "invoiceTitleType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleTypeLessThanOrEqualTo(Integer value) {
            addCriterion("invoice_title_type <=", value, "invoiceTitleType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleTypeIn(List<Integer> values) {
            addCriterion("invoice_title_type in", values, "invoiceTitleType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleTypeNotIn(List<Integer> values) {
            addCriterion("invoice_title_type not in", values, "invoiceTitleType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleTypeBetween(Integer value1, Integer value2) {
            addCriterion("invoice_title_type between", value1, value2, "invoiceTitleType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("invoice_title_type not between", value1, value2, "invoiceTitleType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeNameIsNull() {
            addCriterion("invoice_type_name is null");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeNameIsNotNull() {
            addCriterion("invoice_type_name is not null");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeNameEqualTo(Integer value) {
            addCriterion("invoice_type_name =", value, "invoiceTypeName");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeNameNotEqualTo(Integer value) {
            addCriterion("invoice_type_name <>", value, "invoiceTypeName");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeNameGreaterThan(Integer value) {
            addCriterion("invoice_type_name >", value, "invoiceTypeName");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeNameGreaterThanOrEqualTo(Integer value) {
            addCriterion("invoice_type_name >=", value, "invoiceTypeName");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeNameLessThan(Integer value) {
            addCriterion("invoice_type_name <", value, "invoiceTypeName");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeNameLessThanOrEqualTo(Integer value) {
            addCriterion("invoice_type_name <=", value, "invoiceTypeName");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeNameIn(List<Integer> values) {
            addCriterion("invoice_type_name in", values, "invoiceTypeName");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeNameNotIn(List<Integer> values) {
            addCriterion("invoice_type_name not in", values, "invoiceTypeName");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeNameBetween(Integer value1, Integer value2) {
            addCriterion("invoice_type_name between", value1, value2, "invoiceTypeName");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeNameNotBetween(Integer value1, Integer value2) {
            addCriterion("invoice_type_name not between", value1, value2, "invoiceTypeName");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleIsNull() {
            addCriterion("invoice_title is null");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleIsNotNull() {
            addCriterion("invoice_title is not null");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleEqualTo(String value) {
            addCriterion("invoice_title =", value, "invoiceTitle");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleNotEqualTo(String value) {
            addCriterion("invoice_title <>", value, "invoiceTitle");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleGreaterThan(String value) {
            addCriterion("invoice_title >", value, "invoiceTitle");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleGreaterThanOrEqualTo(String value) {
            addCriterion("invoice_title >=", value, "invoiceTitle");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleLessThan(String value) {
            addCriterion("invoice_title <", value, "invoiceTitle");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleLessThanOrEqualTo(String value) {
            addCriterion("invoice_title <=", value, "invoiceTitle");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleLike(String value) {
            addCriterion("invoice_title like", value, "invoiceTitle");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleNotLike(String value) {
            addCriterion("invoice_title not like", value, "invoiceTitle");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleIn(List<String> values) {
            addCriterion("invoice_title in", values, "invoiceTitle");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleNotIn(List<String> values) {
            addCriterion("invoice_title not in", values, "invoiceTitle");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleBetween(String value1, String value2) {
            addCriterion("invoice_title between", value1, value2, "invoiceTitle");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleNotBetween(String value1, String value2) {
            addCriterion("invoice_title not between", value1, value2, "invoiceTitle");
            return (Criteria) this;
        }

        public Criteria andInvoiceContentIsNull() {
            addCriterion("invoice_content is null");
            return (Criteria) this;
        }

        public Criteria andInvoiceContentIsNotNull() {
            addCriterion("invoice_content is not null");
            return (Criteria) this;
        }

        public Criteria andInvoiceContentEqualTo(String value) {
            addCriterion("invoice_content =", value, "invoiceContent");
            return (Criteria) this;
        }

        public Criteria andInvoiceContentNotEqualTo(String value) {
            addCriterion("invoice_content <>", value, "invoiceContent");
            return (Criteria) this;
        }

        public Criteria andInvoiceContentGreaterThan(String value) {
            addCriterion("invoice_content >", value, "invoiceContent");
            return (Criteria) this;
        }

        public Criteria andInvoiceContentGreaterThanOrEqualTo(String value) {
            addCriterion("invoice_content >=", value, "invoiceContent");
            return (Criteria) this;
        }

        public Criteria andInvoiceContentLessThan(String value) {
            addCriterion("invoice_content <", value, "invoiceContent");
            return (Criteria) this;
        }

        public Criteria andInvoiceContentLessThanOrEqualTo(String value) {
            addCriterion("invoice_content <=", value, "invoiceContent");
            return (Criteria) this;
        }

        public Criteria andInvoiceContentLike(String value) {
            addCriterion("invoice_content like", value, "invoiceContent");
            return (Criteria) this;
        }

        public Criteria andInvoiceContentNotLike(String value) {
            addCriterion("invoice_content not like", value, "invoiceContent");
            return (Criteria) this;
        }

        public Criteria andInvoiceContentIn(List<String> values) {
            addCriterion("invoice_content in", values, "invoiceContent");
            return (Criteria) this;
        }

        public Criteria andInvoiceContentNotIn(List<String> values) {
            addCriterion("invoice_content not in", values, "invoiceContent");
            return (Criteria) this;
        }

        public Criteria andInvoiceContentBetween(String value1, String value2) {
            addCriterion("invoice_content between", value1, value2, "invoiceContent");
            return (Criteria) this;
        }

        public Criteria andInvoiceContentNotBetween(String value1, String value2) {
            addCriterion("invoice_content not between", value1, value2, "invoiceContent");
            return (Criteria) this;
        }

        public Criteria andInvoiceTexPayerNumberIsNull() {
            addCriterion("invoice_tex_payer_number is null");
            return (Criteria) this;
        }

        public Criteria andInvoiceTexPayerNumberIsNotNull() {
            addCriterion("invoice_tex_payer_number is not null");
            return (Criteria) this;
        }

        public Criteria andInvoiceTexPayerNumberEqualTo(String value) {
            addCriterion("invoice_tex_payer_number =", value, "invoiceTexPayerNumber");
            return (Criteria) this;
        }

        public Criteria andInvoiceTexPayerNumberNotEqualTo(String value) {
            addCriterion("invoice_tex_payer_number <>", value, "invoiceTexPayerNumber");
            return (Criteria) this;
        }

        public Criteria andInvoiceTexPayerNumberGreaterThan(String value) {
            addCriterion("invoice_tex_payer_number >", value, "invoiceTexPayerNumber");
            return (Criteria) this;
        }

        public Criteria andInvoiceTexPayerNumberGreaterThanOrEqualTo(String value) {
            addCriterion("invoice_tex_payer_number >=", value, "invoiceTexPayerNumber");
            return (Criteria) this;
        }

        public Criteria andInvoiceTexPayerNumberLessThan(String value) {
            addCriterion("invoice_tex_payer_number <", value, "invoiceTexPayerNumber");
            return (Criteria) this;
        }

        public Criteria andInvoiceTexPayerNumberLessThanOrEqualTo(String value) {
            addCriterion("invoice_tex_payer_number <=", value, "invoiceTexPayerNumber");
            return (Criteria) this;
        }

        public Criteria andInvoiceTexPayerNumberLike(String value) {
            addCriterion("invoice_tex_payer_number like", value, "invoiceTexPayerNumber");
            return (Criteria) this;
        }

        public Criteria andInvoiceTexPayerNumberNotLike(String value) {
            addCriterion("invoice_tex_payer_number not like", value, "invoiceTexPayerNumber");
            return (Criteria) this;
        }

        public Criteria andInvoiceTexPayerNumberIn(List<String> values) {
            addCriterion("invoice_tex_payer_number in", values, "invoiceTexPayerNumber");
            return (Criteria) this;
        }

        public Criteria andInvoiceTexPayerNumberNotIn(List<String> values) {
            addCriterion("invoice_tex_payer_number not in", values, "invoiceTexPayerNumber");
            return (Criteria) this;
        }

        public Criteria andInvoiceTexPayerNumberBetween(String value1, String value2) {
            addCriterion("invoice_tex_payer_number between", value1, value2, "invoiceTexPayerNumber");
            return (Criteria) this;
        }

        public Criteria andInvoiceTexPayerNumberNotBetween(String value1, String value2) {
            addCriterion("invoice_tex_payer_number not between", value1, value2, "invoiceTexPayerNumber");
            return (Criteria) this;
        }

        public Criteria andInvoiceBankNameIsNull() {
            addCriterion("invoice_bank_name is null");
            return (Criteria) this;
        }

        public Criteria andInvoiceBankNameIsNotNull() {
            addCriterion("invoice_bank_name is not null");
            return (Criteria) this;
        }

        public Criteria andInvoiceBankNameEqualTo(String value) {
            addCriterion("invoice_bank_name =", value, "invoiceBankName");
            return (Criteria) this;
        }

        public Criteria andInvoiceBankNameNotEqualTo(String value) {
            addCriterion("invoice_bank_name <>", value, "invoiceBankName");
            return (Criteria) this;
        }

        public Criteria andInvoiceBankNameGreaterThan(String value) {
            addCriterion("invoice_bank_name >", value, "invoiceBankName");
            return (Criteria) this;
        }

        public Criteria andInvoiceBankNameGreaterThanOrEqualTo(String value) {
            addCriterion("invoice_bank_name >=", value, "invoiceBankName");
            return (Criteria) this;
        }

        public Criteria andInvoiceBankNameLessThan(String value) {
            addCriterion("invoice_bank_name <", value, "invoiceBankName");
            return (Criteria) this;
        }

        public Criteria andInvoiceBankNameLessThanOrEqualTo(String value) {
            addCriterion("invoice_bank_name <=", value, "invoiceBankName");
            return (Criteria) this;
        }

        public Criteria andInvoiceBankNameLike(String value) {
            addCriterion("invoice_bank_name like", value, "invoiceBankName");
            return (Criteria) this;
        }

        public Criteria andInvoiceBankNameNotLike(String value) {
            addCriterion("invoice_bank_name not like", value, "invoiceBankName");
            return (Criteria) this;
        }

        public Criteria andInvoiceBankNameIn(List<String> values) {
            addCriterion("invoice_bank_name in", values, "invoiceBankName");
            return (Criteria) this;
        }

        public Criteria andInvoiceBankNameNotIn(List<String> values) {
            addCriterion("invoice_bank_name not in", values, "invoiceBankName");
            return (Criteria) this;
        }

        public Criteria andInvoiceBankNameBetween(String value1, String value2) {
            addCriterion("invoice_bank_name between", value1, value2, "invoiceBankName");
            return (Criteria) this;
        }

        public Criteria andInvoiceBankNameNotBetween(String value1, String value2) {
            addCriterion("invoice_bank_name not between", value1, value2, "invoiceBankName");
            return (Criteria) this;
        }

        public Criteria andInvoiceBankAccountIsNull() {
            addCriterion("invoice_bank_account is null");
            return (Criteria) this;
        }

        public Criteria andInvoiceBankAccountIsNotNull() {
            addCriterion("invoice_bank_account is not null");
            return (Criteria) this;
        }

        public Criteria andInvoiceBankAccountEqualTo(String value) {
            addCriterion("invoice_bank_account =", value, "invoiceBankAccount");
            return (Criteria) this;
        }

        public Criteria andInvoiceBankAccountNotEqualTo(String value) {
            addCriterion("invoice_bank_account <>", value, "invoiceBankAccount");
            return (Criteria) this;
        }

        public Criteria andInvoiceBankAccountGreaterThan(String value) {
            addCriterion("invoice_bank_account >", value, "invoiceBankAccount");
            return (Criteria) this;
        }

        public Criteria andInvoiceBankAccountGreaterThanOrEqualTo(String value) {
            addCriterion("invoice_bank_account >=", value, "invoiceBankAccount");
            return (Criteria) this;
        }

        public Criteria andInvoiceBankAccountLessThan(String value) {
            addCriterion("invoice_bank_account <", value, "invoiceBankAccount");
            return (Criteria) this;
        }

        public Criteria andInvoiceBankAccountLessThanOrEqualTo(String value) {
            addCriterion("invoice_bank_account <=", value, "invoiceBankAccount");
            return (Criteria) this;
        }

        public Criteria andInvoiceBankAccountLike(String value) {
            addCriterion("invoice_bank_account like", value, "invoiceBankAccount");
            return (Criteria) this;
        }

        public Criteria andInvoiceBankAccountNotLike(String value) {
            addCriterion("invoice_bank_account not like", value, "invoiceBankAccount");
            return (Criteria) this;
        }

        public Criteria andInvoiceBankAccountIn(List<String> values) {
            addCriterion("invoice_bank_account in", values, "invoiceBankAccount");
            return (Criteria) this;
        }

        public Criteria andInvoiceBankAccountNotIn(List<String> values) {
            addCriterion("invoice_bank_account not in", values, "invoiceBankAccount");
            return (Criteria) this;
        }

        public Criteria andInvoiceBankAccountBetween(String value1, String value2) {
            addCriterion("invoice_bank_account between", value1, value2, "invoiceBankAccount");
            return (Criteria) this;
        }

        public Criteria andInvoiceBankAccountNotBetween(String value1, String value2) {
            addCriterion("invoice_bank_account not between", value1, value2, "invoiceBankAccount");
            return (Criteria) this;
        }

        public Criteria andInvoiceAddressIsNull() {
            addCriterion("invoice_address is null");
            return (Criteria) this;
        }

        public Criteria andInvoiceAddressIsNotNull() {
            addCriterion("invoice_address is not null");
            return (Criteria) this;
        }

        public Criteria andInvoiceAddressEqualTo(String value) {
            addCriterion("invoice_address =", value, "invoiceAddress");
            return (Criteria) this;
        }

        public Criteria andInvoiceAddressNotEqualTo(String value) {
            addCriterion("invoice_address <>", value, "invoiceAddress");
            return (Criteria) this;
        }

        public Criteria andInvoiceAddressGreaterThan(String value) {
            addCriterion("invoice_address >", value, "invoiceAddress");
            return (Criteria) this;
        }

        public Criteria andInvoiceAddressGreaterThanOrEqualTo(String value) {
            addCriterion("invoice_address >=", value, "invoiceAddress");
            return (Criteria) this;
        }

        public Criteria andInvoiceAddressLessThan(String value) {
            addCriterion("invoice_address <", value, "invoiceAddress");
            return (Criteria) this;
        }

        public Criteria andInvoiceAddressLessThanOrEqualTo(String value) {
            addCriterion("invoice_address <=", value, "invoiceAddress");
            return (Criteria) this;
        }

        public Criteria andInvoiceAddressLike(String value) {
            addCriterion("invoice_address like", value, "invoiceAddress");
            return (Criteria) this;
        }

        public Criteria andInvoiceAddressNotLike(String value) {
            addCriterion("invoice_address not like", value, "invoiceAddress");
            return (Criteria) this;
        }

        public Criteria andInvoiceAddressIn(List<String> values) {
            addCriterion("invoice_address in", values, "invoiceAddress");
            return (Criteria) this;
        }

        public Criteria andInvoiceAddressNotIn(List<String> values) {
            addCriterion("invoice_address not in", values, "invoiceAddress");
            return (Criteria) this;
        }

        public Criteria andInvoiceAddressBetween(String value1, String value2) {
            addCriterion("invoice_address between", value1, value2, "invoiceAddress");
            return (Criteria) this;
        }

        public Criteria andInvoiceAddressNotBetween(String value1, String value2) {
            addCriterion("invoice_address not between", value1, value2, "invoiceAddress");
            return (Criteria) this;
        }

        public Criteria andInvoiceTelIsNull() {
            addCriterion("invoice_tel is null");
            return (Criteria) this;
        }

        public Criteria andInvoiceTelIsNotNull() {
            addCriterion("invoice_tel is not null");
            return (Criteria) this;
        }

        public Criteria andInvoiceTelEqualTo(String value) {
            addCriterion("invoice_tel =", value, "invoiceTel");
            return (Criteria) this;
        }

        public Criteria andInvoiceTelNotEqualTo(String value) {
            addCriterion("invoice_tel <>", value, "invoiceTel");
            return (Criteria) this;
        }

        public Criteria andInvoiceTelGreaterThan(String value) {
            addCriterion("invoice_tel >", value, "invoiceTel");
            return (Criteria) this;
        }

        public Criteria andInvoiceTelGreaterThanOrEqualTo(String value) {
            addCriterion("invoice_tel >=", value, "invoiceTel");
            return (Criteria) this;
        }

        public Criteria andInvoiceTelLessThan(String value) {
            addCriterion("invoice_tel <", value, "invoiceTel");
            return (Criteria) this;
        }

        public Criteria andInvoiceTelLessThanOrEqualTo(String value) {
            addCriterion("invoice_tel <=", value, "invoiceTel");
            return (Criteria) this;
        }

        public Criteria andInvoiceTelLike(String value) {
            addCriterion("invoice_tel like", value, "invoiceTel");
            return (Criteria) this;
        }

        public Criteria andInvoiceTelNotLike(String value) {
            addCriterion("invoice_tel not like", value, "invoiceTel");
            return (Criteria) this;
        }

        public Criteria andInvoiceTelIn(List<String> values) {
            addCriterion("invoice_tel in", values, "invoiceTel");
            return (Criteria) this;
        }

        public Criteria andInvoiceTelNotIn(List<String> values) {
            addCriterion("invoice_tel not in", values, "invoiceTel");
            return (Criteria) this;
        }

        public Criteria andInvoiceTelBetween(String value1, String value2) {
            addCriterion("invoice_tel between", value1, value2, "invoiceTel");
            return (Criteria) this;
        }

        public Criteria andInvoiceTelNotBetween(String value1, String value2) {
            addCriterion("invoice_tel not between", value1, value2, "invoiceTel");
            return (Criteria) this;
        }

        public Criteria andPayeeTelIsNull() {
            addCriterion("payee_tel is null");
            return (Criteria) this;
        }

        public Criteria andPayeeTelIsNotNull() {
            addCriterion("payee_tel is not null");
            return (Criteria) this;
        }

        public Criteria andPayeeTelEqualTo(String value) {
            addCriterion("payee_tel =", value, "payeeTel");
            return (Criteria) this;
        }

        public Criteria andPayeeTelNotEqualTo(String value) {
            addCriterion("payee_tel <>", value, "payeeTel");
            return (Criteria) this;
        }

        public Criteria andPayeeTelGreaterThan(String value) {
            addCriterion("payee_tel >", value, "payeeTel");
            return (Criteria) this;
        }

        public Criteria andPayeeTelGreaterThanOrEqualTo(String value) {
            addCriterion("payee_tel >=", value, "payeeTel");
            return (Criteria) this;
        }

        public Criteria andPayeeTelLessThan(String value) {
            addCriterion("payee_tel <", value, "payeeTel");
            return (Criteria) this;
        }

        public Criteria andPayeeTelLessThanOrEqualTo(String value) {
            addCriterion("payee_tel <=", value, "payeeTel");
            return (Criteria) this;
        }

        public Criteria andPayeeTelLike(String value) {
            addCriterion("payee_tel like", value, "payeeTel");
            return (Criteria) this;
        }

        public Criteria andPayeeTelNotLike(String value) {
            addCriterion("payee_tel not like", value, "payeeTel");
            return (Criteria) this;
        }

        public Criteria andPayeeTelIn(List<String> values) {
            addCriterion("payee_tel in", values, "payeeTel");
            return (Criteria) this;
        }

        public Criteria andPayeeTelNotIn(List<String> values) {
            addCriterion("payee_tel not in", values, "payeeTel");
            return (Criteria) this;
        }

        public Criteria andPayeeTelBetween(String value1, String value2) {
            addCriterion("payee_tel between", value1, value2, "payeeTel");
            return (Criteria) this;
        }

        public Criteria andPayeeTelNotBetween(String value1, String value2) {
            addCriterion("payee_tel not between", value1, value2, "payeeTel");
            return (Criteria) this;
        }

        public Criteria andPayeeMailboxIsNull() {
            addCriterion("payee_mailbox is null");
            return (Criteria) this;
        }

        public Criteria andPayeeMailboxIsNotNull() {
            addCriterion("payee_mailbox is not null");
            return (Criteria) this;
        }

        public Criteria andPayeeMailboxEqualTo(String value) {
            addCriterion("payee_mailbox =", value, "payeeMailbox");
            return (Criteria) this;
        }

        public Criteria andPayeeMailboxNotEqualTo(String value) {
            addCriterion("payee_mailbox <>", value, "payeeMailbox");
            return (Criteria) this;
        }

        public Criteria andPayeeMailboxGreaterThan(String value) {
            addCriterion("payee_mailbox >", value, "payeeMailbox");
            return (Criteria) this;
        }

        public Criteria andPayeeMailboxGreaterThanOrEqualTo(String value) {
            addCriterion("payee_mailbox >=", value, "payeeMailbox");
            return (Criteria) this;
        }

        public Criteria andPayeeMailboxLessThan(String value) {
            addCriterion("payee_mailbox <", value, "payeeMailbox");
            return (Criteria) this;
        }

        public Criteria andPayeeMailboxLessThanOrEqualTo(String value) {
            addCriterion("payee_mailbox <=", value, "payeeMailbox");
            return (Criteria) this;
        }

        public Criteria andPayeeMailboxLike(String value) {
            addCriterion("payee_mailbox like", value, "payeeMailbox");
            return (Criteria) this;
        }

        public Criteria andPayeeMailboxNotLike(String value) {
            addCriterion("payee_mailbox not like", value, "payeeMailbox");
            return (Criteria) this;
        }

        public Criteria andPayeeMailboxIn(List<String> values) {
            addCriterion("payee_mailbox in", values, "payeeMailbox");
            return (Criteria) this;
        }

        public Criteria andPayeeMailboxNotIn(List<String> values) {
            addCriterion("payee_mailbox not in", values, "payeeMailbox");
            return (Criteria) this;
        }

        public Criteria andPayeeMailboxBetween(String value1, String value2) {
            addCriterion("payee_mailbox between", value1, value2, "payeeMailbox");
            return (Criteria) this;
        }

        public Criteria andPayeeMailboxNotBetween(String value1, String value2) {
            addCriterion("payee_mailbox not between", value1, value2, "payeeMailbox");
            return (Criteria) this;
        }

        public Criteria andHandleTypeIsNull() {
            addCriterion("handle_type is null");
            return (Criteria) this;
        }

        public Criteria andHandleTypeIsNotNull() {
            addCriterion("handle_type is not null");
            return (Criteria) this;
        }

        public Criteria andHandleTypeEqualTo(Integer value) {
            addCriterion("handle_type =", value, "handleType");
            return (Criteria) this;
        }

        public Criteria andHandleTypeNotEqualTo(Integer value) {
            addCriterion("handle_type <>", value, "handleType");
            return (Criteria) this;
        }

        public Criteria andHandleTypeGreaterThan(Integer value) {
            addCriterion("handle_type >", value, "handleType");
            return (Criteria) this;
        }

        public Criteria andHandleTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("handle_type >=", value, "handleType");
            return (Criteria) this;
        }

        public Criteria andHandleTypeLessThan(Integer value) {
            addCriterion("handle_type <", value, "handleType");
            return (Criteria) this;
        }

        public Criteria andHandleTypeLessThanOrEqualTo(Integer value) {
            addCriterion("handle_type <=", value, "handleType");
            return (Criteria) this;
        }

        public Criteria andHandleTypeIn(List<Integer> values) {
            addCriterion("handle_type in", values, "handleType");
            return (Criteria) this;
        }

        public Criteria andHandleTypeNotIn(List<Integer> values) {
            addCriterion("handle_type not in", values, "handleType");
            return (Criteria) this;
        }

        public Criteria andHandleTypeBetween(Integer value1, Integer value2) {
            addCriterion("handle_type between", value1, value2, "handleType");
            return (Criteria) this;
        }

        public Criteria andHandleTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("handle_type not between", value1, value2, "handleType");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceOrderSnIsNull() {
            addCriterion("other_invoice_order_sn is null");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceOrderSnIsNotNull() {
            addCriterion("other_invoice_order_sn is not null");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceOrderSnEqualTo(String value) {
            addCriterion("other_invoice_order_sn =", value, "otherInvoiceOrderSn");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceOrderSnNotEqualTo(String value) {
            addCriterion("other_invoice_order_sn <>", value, "otherInvoiceOrderSn");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceOrderSnGreaterThan(String value) {
            addCriterion("other_invoice_order_sn >", value, "otherInvoiceOrderSn");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceOrderSnGreaterThanOrEqualTo(String value) {
            addCriterion("other_invoice_order_sn >=", value, "otherInvoiceOrderSn");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceOrderSnLessThan(String value) {
            addCriterion("other_invoice_order_sn <", value, "otherInvoiceOrderSn");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceOrderSnLessThanOrEqualTo(String value) {
            addCriterion("other_invoice_order_sn <=", value, "otherInvoiceOrderSn");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceOrderSnLike(String value) {
            addCriterion("other_invoice_order_sn like", value, "otherInvoiceOrderSn");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceOrderSnNotLike(String value) {
            addCriterion("other_invoice_order_sn not like", value, "otherInvoiceOrderSn");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceOrderSnIn(List<String> values) {
            addCriterion("other_invoice_order_sn in", values, "otherInvoiceOrderSn");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceOrderSnNotIn(List<String> values) {
            addCriterion("other_invoice_order_sn not in", values, "otherInvoiceOrderSn");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceOrderSnBetween(String value1, String value2) {
            addCriterion("other_invoice_order_sn between", value1, value2, "otherInvoiceOrderSn");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceOrderSnNotBetween(String value1, String value2) {
            addCriterion("other_invoice_order_sn not between", value1, value2, "otherInvoiceOrderSn");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceTimeIsNull() {
            addCriterion("other_invoice_time is null");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceTimeIsNotNull() {
            addCriterion("other_invoice_time is not null");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceTimeEqualTo(Date value) {
            addCriterion("other_invoice_time =", value, "otherInvoiceTime");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceTimeNotEqualTo(Date value) {
            addCriterion("other_invoice_time <>", value, "otherInvoiceTime");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceTimeGreaterThan(Date value) {
            addCriterion("other_invoice_time >", value, "otherInvoiceTime");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("other_invoice_time >=", value, "otherInvoiceTime");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceTimeLessThan(Date value) {
            addCriterion("other_invoice_time <", value, "otherInvoiceTime");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceTimeLessThanOrEqualTo(Date value) {
            addCriterion("other_invoice_time <=", value, "otherInvoiceTime");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceTimeIn(List<Date> values) {
            addCriterion("other_invoice_time in", values, "otherInvoiceTime");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceTimeNotIn(List<Date> values) {
            addCriterion("other_invoice_time not in", values, "otherInvoiceTime");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceTimeBetween(Date value1, Date value2) {
            addCriterion("other_invoice_time between", value1, value2, "otherInvoiceTime");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceTimeNotBetween(Date value1, Date value2) {
            addCriterion("other_invoice_time not between", value1, value2, "otherInvoiceTime");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceShipSnIsNull() {
            addCriterion("other_invoice_ship_sn is null");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceShipSnIsNotNull() {
            addCriterion("other_invoice_ship_sn is not null");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceShipSnEqualTo(String value) {
            addCriterion("other_invoice_ship_sn =", value, "otherInvoiceShipSn");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceShipSnNotEqualTo(String value) {
            addCriterion("other_invoice_ship_sn <>", value, "otherInvoiceShipSn");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceShipSnGreaterThan(String value) {
            addCriterion("other_invoice_ship_sn >", value, "otherInvoiceShipSn");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceShipSnGreaterThanOrEqualTo(String value) {
            addCriterion("other_invoice_ship_sn >=", value, "otherInvoiceShipSn");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceShipSnLessThan(String value) {
            addCriterion("other_invoice_ship_sn <", value, "otherInvoiceShipSn");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceShipSnLessThanOrEqualTo(String value) {
            addCriterion("other_invoice_ship_sn <=", value, "otherInvoiceShipSn");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceShipSnLike(String value) {
            addCriterion("other_invoice_ship_sn like", value, "otherInvoiceShipSn");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceShipSnNotLike(String value) {
            addCriterion("other_invoice_ship_sn not like", value, "otherInvoiceShipSn");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceShipSnIn(List<String> values) {
            addCriterion("other_invoice_ship_sn in", values, "otherInvoiceShipSn");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceShipSnNotIn(List<String> values) {
            addCriterion("other_invoice_ship_sn not in", values, "otherInvoiceShipSn");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceShipSnBetween(String value1, String value2) {
            addCriterion("other_invoice_ship_sn between", value1, value2, "otherInvoiceShipSn");
            return (Criteria) this;
        }

        public Criteria andOtherInvoiceShipSnNotBetween(String value1, String value2) {
            addCriterion("other_invoice_ship_sn not between", value1, value2, "otherInvoiceShipSn");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("create_user is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("create_user is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("create_user =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("create_user <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("create_user >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("create_user >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("create_user <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("create_user <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("create_user like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("create_user not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("create_user in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("create_user not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("create_user between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("create_user not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("update_user is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("update_user is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(String value) {
            addCriterion("update_user =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(String value) {
            addCriterion("update_user <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(String value) {
            addCriterion("update_user >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            addCriterion("update_user >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(String value) {
            addCriterion("update_user <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(String value) {
            addCriterion("update_user <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLike(String value) {
            addCriterion("update_user like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotLike(String value) {
            addCriterion("update_user not like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<String> values) {
            addCriterion("update_user in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<String> values) {
            addCriterion("update_user not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(String value1, String value2) {
            addCriterion("update_user between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(String value1, String value2) {
            addCriterion("update_user not between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNull() {
            addCriterion("remarks is null");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNotNull() {
            addCriterion("remarks is not null");
            return (Criteria) this;
        }

        public Criteria andRemarksEqualTo(String value) {
            addCriterion("remarks =", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotEqualTo(String value) {
            addCriterion("remarks <>", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThan(String value) {
            addCriterion("remarks >", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThanOrEqualTo(String value) {
            addCriterion("remarks >=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThan(String value) {
            addCriterion("remarks <", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThanOrEqualTo(String value) {
            addCriterion("remarks <=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLike(String value) {
            addCriterion("remarks like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotLike(String value) {
            addCriterion("remarks not like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksIn(List<String> values) {
            addCriterion("remarks in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotIn(List<String> values) {
            addCriterion("remarks not in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksBetween(String value1, String value2) {
            addCriterion("remarks between", value1, value2, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotBetween(String value1, String value2) {
            addCriterion("remarks not between", value1, value2, "remarks");
            return (Criteria) this;
        }

        public Criteria andReceiverNameIsNull() {
            addCriterion("receiver_name is null");
            return (Criteria) this;
        }

        public Criteria andReceiverNameIsNotNull() {
            addCriterion("receiver_name is not null");
            return (Criteria) this;
        }

        public Criteria andReceiverNameEqualTo(String value) {
            addCriterion("receiver_name =", value, "receiverName");
            return (Criteria) this;
        }

        public Criteria andReceiverNameNotEqualTo(String value) {
            addCriterion("receiver_name <>", value, "receiverName");
            return (Criteria) this;
        }

        public Criteria andReceiverNameGreaterThan(String value) {
            addCriterion("receiver_name >", value, "receiverName");
            return (Criteria) this;
        }

        public Criteria andReceiverNameGreaterThanOrEqualTo(String value) {
            addCriterion("receiver_name >=", value, "receiverName");
            return (Criteria) this;
        }

        public Criteria andReceiverNameLessThan(String value) {
            addCriterion("receiver_name <", value, "receiverName");
            return (Criteria) this;
        }

        public Criteria andReceiverNameLessThanOrEqualTo(String value) {
            addCriterion("receiver_name <=", value, "receiverName");
            return (Criteria) this;
        }

        public Criteria andReceiverNameLike(String value) {
            addCriterion("receiver_name like", value, "receiverName");
            return (Criteria) this;
        }

        public Criteria andReceiverNameNotLike(String value) {
            addCriterion("receiver_name not like", value, "receiverName");
            return (Criteria) this;
        }

        public Criteria andReceiverNameIn(List<String> values) {
            addCriterion("receiver_name in", values, "receiverName");
            return (Criteria) this;
        }

        public Criteria andReceiverNameNotIn(List<String> values) {
            addCriterion("receiver_name not in", values, "receiverName");
            return (Criteria) this;
        }

        public Criteria andReceiverNameBetween(String value1, String value2) {
            addCriterion("receiver_name between", value1, value2, "receiverName");
            return (Criteria) this;
        }

        public Criteria andReceiverNameNotBetween(String value1, String value2) {
            addCriterion("receiver_name not between", value1, value2, "receiverName");
            return (Criteria) this;
        }

        public Criteria andReceiverPhoneIsNull() {
            addCriterion("receiver_phone is null");
            return (Criteria) this;
        }

        public Criteria andReceiverPhoneIsNotNull() {
            addCriterion("receiver_phone is not null");
            return (Criteria) this;
        }

        public Criteria andReceiverPhoneEqualTo(String value) {
            addCriterion("receiver_phone =", value, "receiverPhone");
            return (Criteria) this;
        }

        public Criteria andReceiverPhoneNotEqualTo(String value) {
            addCriterion("receiver_phone <>", value, "receiverPhone");
            return (Criteria) this;
        }

        public Criteria andReceiverPhoneGreaterThan(String value) {
            addCriterion("receiver_phone >", value, "receiverPhone");
            return (Criteria) this;
        }

        public Criteria andReceiverPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("receiver_phone >=", value, "receiverPhone");
            return (Criteria) this;
        }

        public Criteria andReceiverPhoneLessThan(String value) {
            addCriterion("receiver_phone <", value, "receiverPhone");
            return (Criteria) this;
        }

        public Criteria andReceiverPhoneLessThanOrEqualTo(String value) {
            addCriterion("receiver_phone <=", value, "receiverPhone");
            return (Criteria) this;
        }

        public Criteria andReceiverPhoneLike(String value) {
            addCriterion("receiver_phone like", value, "receiverPhone");
            return (Criteria) this;
        }

        public Criteria andReceiverPhoneNotLike(String value) {
            addCriterion("receiver_phone not like", value, "receiverPhone");
            return (Criteria) this;
        }

        public Criteria andReceiverPhoneIn(List<String> values) {
            addCriterion("receiver_phone in", values, "receiverPhone");
            return (Criteria) this;
        }

        public Criteria andReceiverPhoneNotIn(List<String> values) {
            addCriterion("receiver_phone not in", values, "receiverPhone");
            return (Criteria) this;
        }

        public Criteria andReceiverPhoneBetween(String value1, String value2) {
            addCriterion("receiver_phone between", value1, value2, "receiverPhone");
            return (Criteria) this;
        }

        public Criteria andReceiverPhoneNotBetween(String value1, String value2) {
            addCriterion("receiver_phone not between", value1, value2, "receiverPhone");
            return (Criteria) this;
        }

        public Criteria andSendAddrIsNull() {
            addCriterion("send_addr is null");
            return (Criteria) this;
        }

        public Criteria andSendAddrIsNotNull() {
            addCriterion("send_addr is not null");
            return (Criteria) this;
        }

        public Criteria andSendAddrEqualTo(String value) {
            addCriterion("send_addr =", value, "sendAddr");
            return (Criteria) this;
        }

        public Criteria andSendAddrNotEqualTo(String value) {
            addCriterion("send_addr <>", value, "sendAddr");
            return (Criteria) this;
        }

        public Criteria andSendAddrGreaterThan(String value) {
            addCriterion("send_addr >", value, "sendAddr");
            return (Criteria) this;
        }

        public Criteria andSendAddrGreaterThanOrEqualTo(String value) {
            addCriterion("send_addr >=", value, "sendAddr");
            return (Criteria) this;
        }

        public Criteria andSendAddrLessThan(String value) {
            addCriterion("send_addr <", value, "sendAddr");
            return (Criteria) this;
        }

        public Criteria andSendAddrLessThanOrEqualTo(String value) {
            addCriterion("send_addr <=", value, "sendAddr");
            return (Criteria) this;
        }

        public Criteria andSendAddrLike(String value) {
            addCriterion("send_addr like", value, "sendAddr");
            return (Criteria) this;
        }

        public Criteria andSendAddrNotLike(String value) {
            addCriterion("send_addr not like", value, "sendAddr");
            return (Criteria) this;
        }

        public Criteria andSendAddrIn(List<String> values) {
            addCriterion("send_addr in", values, "sendAddr");
            return (Criteria) this;
        }

        public Criteria andSendAddrNotIn(List<String> values) {
            addCriterion("send_addr not in", values, "sendAddr");
            return (Criteria) this;
        }

        public Criteria andSendAddrBetween(String value1, String value2) {
            addCriterion("send_addr between", value1, value2, "sendAddr");
            return (Criteria) this;
        }

        public Criteria andSendAddrNotBetween(String value1, String value2) {
            addCriterion("send_addr not between", value1, value2, "sendAddr");
            return (Criteria) this;
        }
    }

    /**
     * master_order_invoice
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * @title master_order_invoice表的实体类
     * @description master_order_invoice
     * @version 1.0
     * @author 18304
     * @date 2020-12-24 16:49:36
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}
